#define layoutPortal() 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>#(WEB_TITLE??"CMS")- #(WEB_NAME??"Lambkit CMS")</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="lambkit,lambkitcms">
  <meta name="description" content="lambkitcms">
  <link rel="stylesheet" href="#(TPATH)/res/layui/css/layui.css">
  <link rel="stylesheet" href="#(TPATH)/res/portal/css/index.css">
  #@css?()
</head>
<body>
<!-- nav部分 -->
  <div class="nav index">
    <div class="layui-container">
      <!-- 公司logo -->
      <div class="nav-logo">
        <a href="index.html">
          <img src="#(TPATH)/res/portal/img/logo.png" alt="IT公司">
        </a>
      </div>
      <div class="nav-list">
        <button>
          <span></span><span></span><span></span>
        </button>
        <ul class="layui-nav" lay-filter="">
        	#for(menu : menus)
						#if(menu.pid == null || menu.pid == 0)
						#if(menu.url == curl)
						<li class="layui-nav-item layui-this">
						#else
						<li class="layui-nav-item">
							#end				
						<a href="#(ctx)#(menu.url)">#(menu.name??'菜单')</a></li>
						#end
					#end
        </ul>
      </div>
    </div>
  </div>
  
#@content()

#@js?()

<!-- 添加统计代码  -->
#(WebSite.Statistic??)

</body>
</html>
#end